From: Ivan Molodetskikh Date: Tue, 8 Feb 2022 16:13:25 +0000 (+0300) Subject: main: Move screenshotUI initialization earlier X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~530^2^2~39 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=33cf163f95de29c12a3a848d5e445397983eb63d;p=gnome-shell.git main: Move screenshotUI initialization earlier A new screen recording panel indicator will connect to its signal, so it needs to be initialized before the panel. Part-of: --- diff --git a/js/ui/main.js b/js/ui/main.js index 908688c5a..3d7a044c4 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -221,6 +221,8 @@ function _initializeUI() { inputMethod = new InputMethod.InputMethod(); Clutter.get_default_backend().set_input_method(inputMethod); + screenshotUI = new Screenshot.ScreenshotUI(); + messageTray = new MessageTray.MessageTray(); panel = new Panel.Panel(); keyboard = new Keyboard.KeyboardManager(); @@ -228,8 +230,6 @@ function _initializeUI() { windowAttentionHandler = new WindowAttentionHandler.WindowAttentionHandler(); componentManager = new Components.ComponentManager(); - screenshotUI = new Screenshot.ScreenshotUI(); - introspectService = new Introspect.IntrospectService(); layoutManager.init();